keyp  -- Operation (predicate), no inputs.
     This procedure outputs true if there is a character waiting to be read
     from the terminal, if you are in cbreak mode.  If not, it outputs true
     if there is an entire line waiting to be read.
